package com.gitee.qdbp.general.thirdpart.api.map.service;

import java.util.List;
import com.gitee.qdbp.able.exception.ServiceException;
import com.gitee.qdbp.general.common.api.settings.model.AreaBean;
import com.gitee.qdbp.general.thirdpart.api.map.model.IpLocation;
import com.gitee.qdbp.general.thirdpart.api.map.model.SuggestionDetails;
import com.gitee.qdbp.general.thirdpart.api.map.model.TownshipDetails;

/**
 * 第三方地图接口
 *
 * @author zhaohuihua
 * @version 180717
 */
public interface IMapService {

    /** 查询行政区划 **/
    List<AreaBean> queryAreaDivisions() throws ServiceException;

    /** IP定位 **/
    IpLocation ipLocating(String ip) throws ServiceException;

    /** 根据用户输入的关键字给出地址提示 **/
    List<SuggestionDetails> suggestion(String keyword, String location) throws ServiceException;

    /** 根据经纬度查询乡镇街道级信息 **/
    TownshipDetails township(String scene, String location) throws ServiceException;
}
